package com.todod.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import com.baomidou.mybatisplus.extension.service.IService;
import com.todod.dto.BaseFileDto;
import com.todod.dto.FileDto;
import com.todod.model.BaseFile;

/**
 * <p>
 * 附件表 服务类
 * </p>
 *
 * @author gmm
 * @since 2021-08-09
 */
public interface IBaseFileService extends IService<BaseFile> {

	Map<String, Object> saveUploadFile(Long userId, HttpServletRequest request, String linkId, String fileType);

	String saveUploadFile1(Long _userId, HttpServletRequest request, String linkId, String filetype);

		void deleteData(Long id);

	List<FileDto> getByLinkId(String id, String type);

	List<BaseFileDto> getFileList(String linkId, String filetype);
}
